package rs.frenjoynet.core.core.entity.db;

import common.db.id.ProtectedIdObject;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: ppopovic
 * Date: 22.10.2009.
 * Time: 15.01.01
 * To change this template use File | Settings | File Templates.
 */
public class Information extends ProtectedIdObject
{
	//private int ID;
	private Date rowTimestamp;
	private String firstName;
	private String lastName;
	private Date birthday;
	private boolean male;
	private String description;
	private String relationStatus;
	private String religionId;
	private String politicalOption;
	private String onlineStatus;
	private Integer interestedInId;
	private Integer personalDataId;
	private String mailId;
	private Integer pictureId;

	public Information()
	{

	}

	public Information(Integer ID, Date rowTimestamp, String name, String lastName, Date birthday, boolean male,
					   String description, String relationStatus, String religionId, String politicalOption,
					   String onlineStatus, Integer interestedInId, Integer personalDataId,  Integer pictureId, String mailId)
	{
		//this.ID = ID;
		super(ID);
		this.rowTimestamp = rowTimestamp;
		this.firstName = name;
		this.lastName = lastName;
		this.birthday = birthday;
		this.male = male;
		this.description = description;
		this.relationStatus = relationStatus;
		this.religionId = religionId;
		this.politicalOption = politicalOption;
		this.onlineStatus = onlineStatus;
		this.interestedInId = interestedInId;
		this.personalDataId = personalDataId;
		this.pictureId = pictureId;
		this.mailId = mailId;
	}

//	public int getID()
//	{
//		return ID;
//	}
//
	public void setId(int ID)
	{
		super.setId(ID);
	}

	public Date getRowTimestamp()
	{
		return rowTimestamp;
	}

	public void setRowTimestamp(Date rowTimestamp)
	{
		this.rowTimestamp = rowTimestamp;
	}

	public String getFirstName()
	{
		return firstName;
	}

	public void setFirstName(String firstName)
	{
		this.firstName = firstName;
	}

	public String getLastName()
	{
		return lastName;
	}

	public void setLastName(String lastName)
	{
		this.lastName = lastName;
	}

	public Date getBirthday()
	{
		return birthday;
	}

	public void setBirthday(Date birthday)
	{
		this.birthday = birthday;
	}

	public boolean isMale()
	{
		return male;
	}

	public void setMale(boolean male)
	{
		this.male = male;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getRelationStatus()
	{
		return relationStatus;
	}

	public void setRelationStatus(String relationStatus)
	{
		this.relationStatus = relationStatus;
	}

	public String getReligionId()
	{
		return religionId;
	}

	public void setReligionId(String religionId)
	{
		this.religionId = religionId;
	}

	public String getPoliticalOption()
	{
		return politicalOption;
	}

	public void setPoliticalOption(String politicalOption)
	{
		this.politicalOption = politicalOption;
	}

	public String getOnlineStatus()
	{
		return onlineStatus;
	}

	public void setOnlineStatus(String onlineStatus)
	{
		this.onlineStatus = onlineStatus;
	}

	public Integer getInterestedInId()
	{
		return interestedInId;
	}

	public void setInterestedInId(Integer interestedInId)
	{
		this.interestedInId = interestedInId;
	}

	public Integer getPersonalDataId()
	{
		return personalDataId;
	}

	public void setPersonalDataId(Integer personalDataId)
	{
		this.personalDataId = personalDataId;
	}

	public String getMailId()
	{
		return mailId;
	}

	public void setMailId(String mailId)
	{
		this.mailId = mailId;
	}

	public Integer getPictureId()
	{
		return pictureId;
	}

	public void setPictureId(Integer pictureId)
	{
		this.pictureId = pictureId;
	}

	@Override
	public String toString()
	{
		return "Information{" +
				"rowTimestamp=" + rowTimestamp +
				", firstName='" + firstName + '\'' +
				", lastName='" + lastName + '\'' +
				", birthday=" + birthday +
				", male=" + male +
				", description='" + description + '\'' +
				", relationStatus='" + relationStatus + '\'' +
				", religionId='" + religionId + '\'' +
				", politicalOption='" + politicalOption + '\'' +
				", onlineStatus='" + onlineStatus + '\'' +
				", interestedInId=" + interestedInId +
				", personalDataId=" + personalDataId +
				", pictureId=" + pictureId + '\'' +
				", mailId='" + mailId +
				'}';
	}
}
